﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AddClient.ascx.cs" Inherits="Presentation.UserControl.AddClient" %>
<table border="0" cellpadding="0" cellspacing="0" id="content-table" width="100%">
    <tr>
        <th rowspan="3" class="sized">
            <img src="/Content/images/shared/side_shadowleft.jpg" width="20" height="300" alt="" />
        </th>
        <th class="topleft">
        </th>
        <td id="tbl-border-top">
        </td>
        <th class="topright">
        </th>
        <th rowspan="3" class="sized">
            <img src="/Content/images/shared/side_shadowright.jpg" width="20" height="300" alt="" />
        </th>
    </tr>
    <tr>
        <td id="tbl-border-left">
        </td>
        <td>
            <!--  start content-table-inner -->
            <div id="content-table-inner">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr valign="top">
                        <td>
                            <!-- start id-form -->
                            <table width="100%" cellspacing="0" cellpadding="0" border="0" id="id-form">
                                <tr>
                                    <td colspan="2">
                                        <div class="legend-text">
                                            Account information
                                        </div>
                                        <div class="hrStyle">
                                            <hr />
                                        </div>
                                    </td>
                                    <td colspan="2">
                                        <div class="legend-text">
                                            Profile information
                                        </div>
                                        <div class="hrStyle">
                                            <hr />
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 10%">
                                        First name:&nbsp
                                    </th>
                                    <td style="width: 40%">
                                        <asp:TextBox ID="FirstNameTextBox" CssClass="inp-form" runat="server" TabIndex="1"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="FirstNameRequiredFieldValidator" runat="server" CssClass="validation-msg"
                                            ControlToValidate="FirstNameTextBox" ErrorMessage="Firstname is required" Display="Dynamic" />
                                    </td>
                                    <th style="width: 10%">
                                        Title:&nbsp
                                    </th>
                                    <td style="width: 40%">
                                        <asp:TextBox ID="TitleTextBox" runat="server" CssClass="inp-form" TabIndex="7"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        Last name:&nbsp
                                    </th>
                                    <td>
                                        <asp:TextBox ID="LastNameTextBox" runat="server" CssClass="inp-form" TabIndex="1"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="LastNameRequiredFieldValidator" runat="server" CssClass="validation-msg"
                                            ErrorMessage="Lastname is required" ControlToValidate="LastNameTextBox" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="LastNameRegularExpressionValidator" runat="server"
                                            CssClass="validation-msg" ErrorMessage="Lastname must be a word" ControlToValidate="LastNameTextBox"
                                            ValidationExpression="^((?!\s).)*$" Display="Dynamic"></asp:RegularExpressionValidator>
                                    </td>
                                    <th>
                                        Address:&nbsp
                                    </th>
                                    <td>
                                        <asp:TextBox ID="AddressTextBox" runat="server" CssClass="inp-form" TabIndex="8"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        Birthdate:&nbsp
                                    </th>
                                    <td>
                                        <asp:TextBox ID="BirthDateTextBox" title="<b>MM/dd/yyyy</b>" runat="server" CssClass="inp-datetime"
                                            TabIndex="2" />
                                        <asp:RequiredFieldValidator ID="BirthDateRequiredFieldValidator" runat="server" CssClass="validation-msg"
                                            ControlToValidate="BirthdateTextBox" Display="Dynamic" ErrorMessage="Birthdate is required" />
                                        <asp:RegularExpressionValidator ID="BirthDateRegularExpressionValidator" runat="server"
                                            CssClass="validation-msg" ControlToValidate="BirthdateTextBox" ErrorMessage="Birthdate is Invalid !"
                                            ValidationExpression="^(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))$"
                                            Display="Dynamic"></asp:RegularExpressionValidator>
                                    </td>
                                    <th>
                                        Vat number:&nbsp
                                    </th>
                                    <td>
                                        <asp:TextBox ID="VatNumberTextBox" runat="server" CssClass="inp-form" TabIndex="9"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        Gender:&nbsp
                                    </th>
                                    <td>
                                        <asp:RadioButton ID="MaleRadio" runat="server" Text="Male" GroupName="Gender" Checked="true"
                                            TabIndex="3" />
                                        <asp:RadioButton ID="FemaleRadio" runat="server" Text="Female" GroupName="Gender"
                                            TabIndex="4" />
                                    </td>
                                    <th>
                                        Register number:&nbsp
                                    </th>
                                    <td>
                                        <asp:TextBox ID="RegisterNumberTextBox" runat="server" CssClass="inp-form" TabIndex="10"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        Day in week:&nbsp
                                    </th>
                                    <td>
                                        <asp:DropDownList runat="server" ID="DayInWeekDropDownList" CssClass="styledselect_form_1"
                                            TabIndex="5">
                                            <asp:ListItem Text="Monday" Value="2"></asp:ListItem>
                                            <asp:ListItem Text="Tuesday" Value="3"></asp:ListItem>
                                            <asp:ListItem Text="Wednesday" Value="4"></asp:ListItem>
                                            <asp:ListItem Text="Thursday" Value="5"></asp:ListItem>
                                            <asp:ListItem Text="Friday" Value="6"></asp:ListItem>
                                            <asp:ListItem Text="Saturday" Value="7"></asp:ListItem>
                                            <asp:ListItem Text="Sunday" Value="8"></asp:ListItem>
                                            <asp:ListItem Text="Send Immediately" Value="0"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <th>
                                        Post code:&nbsp
                                    </th>
                                    <td>
                                        <asp:TextBox ID="PostcodeTextBox" runat="server" CssClass="inp-form" TabIndex="11"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        Active:&nbsp
                                    </th>
                                    <td>
                                        <asp:CheckBox ID="ActiveCheckBox" runat="server" Text="Active" Checked="true" TabIndex="6" />
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4">
                                        <div class="hrStyle">
                                            <hr />
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="4" style="text-align: left">
                                        <asp:Button ID="AddButton" runat="server" CssClass="form-add" TabIndex="12" />
                                        <asp:Button ID="ResetButton" CausesValidation="false" runat="server" CssClass="form-reset"
                                            TabIndex="13" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <div class="clear">
                </div>
            </div>
            <!--  end content-table-inner  -->
        </td>
        <td id="tbl-border-right">
        </td>
    </tr>
    <tr>
        <th class="sized bottomleft">
        </th>
        <td id="tbl-border-bottom">
            &nbsp;
        </td>
        <th class="sized bottomright">
        </th>
    </tr>
</table>
<div class="clear">
    &nbsp;</div>
